

const fs = require('fs');
console.log(JSON.stringify(true));
const nimabi = (message) =>{
    return message;
}

const buf = Buffer.from(['fafds', 2, 3]);


var pro = new Promise((resolve,reject) => {
    // resolve('coanim');

});

for (const b of buf) {
  console.log(b);
}
// alert(encodeURIComponent('\uD800\uDFFF'));
module.exports = nimabi;

var a1 = Promise.resolve(1);
    a2 = Promise.resolve(2);
    a3 = Promise.resolve(3);

Promise.all([a1,a2,a3]).then(function (result){
    console.log('success' + result);
}).catch(result => {
    console.log('错误' + result);
});

var bf1 = new Buffer(5);
bf1.write('coanima');
console.log(bf1.toString());
// var tempArray = [1, 2, 3s];
// tempArray.forEach(function (result) {
//     console.log(result + 'result');
// });



